from peewee import *

database = MySQLDatabase('audi', **{'charset': 'utf8', 'sql_mode': 'PIPES_AS_CONCAT', 'use_unicode': True, 'host': '192.168.10.166', 'port': 3306, 'user': 'a', 'password': '110'})

class UnknownField(object):
    def __init__(self, *_, **__): pass

class BaseModel(Model):
    class Meta:
        database = database

class T02(BaseModel):
    aa = TextField(column_name='AA', null=True)
    ab = TextField(column_name='AB', null=True)
    ac = TextField(column_name='AC', null=True)
    ad = TextField(column_name='AD', null=True)
    ae = TextField(column_name='AE', null=True)
    ba = TextField(column_name='BA', null=True)
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = '02'

class T20181024StandardLabelFinal(BaseModel):
    cid = CharField(null=True)
    org_label = CharField(null=True)
    pid = CharField(null=True)
    remark = CharField(null=True)
    standard_label = CharField(null=True)

    class Meta:
        table_name = '2018_10_24_standard_label_final'

class DynamotorInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'Dynamotor_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class SeqAc(BaseModel):
    ab = CharField(column_name='AB', null=True)
    ac = CharField(column_name='AC', constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'SEQ_AC'
        primary_key = False

class TurbochargerInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'Turbocharger_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class TyrePressureSensorInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'Tyre_pressure_sensor_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class WaterPumpInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'Water_pump_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class Alias(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    createtime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    label = CharField(null=True)
    pid = CharField(null=True)

    class Meta:
        table_name = 'alias'

class AudiMPart(BaseModel):
    m_type = CharField(constraints=[SQL("DEFAULT '22'")])
    pid = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT '减震器'")])

    class Meta:
        table_name = 'audi_m_part'

class AudiNewData(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    ext_pids = TextField(null=True)
    new_pids = TextField(null=True)
    org_label = CharField(null=True)
    remark = CharField(null=True)
    standard_label = CharField(null=True)

    class Meta:
        table_name = 'audi_new_data'

class CarConfigInfoVag(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField()
    drive = CharField(constraints=[SQL("DEFAULT ''")])
    engine = CharField(constraints=[SQL("DEFAULT ''")])
    extra_info = TextField()
    part_list = TextField()
    salestype = CharField(constraints=[SQL("DEFAULT ''")])
    trans = CharField(constraints=[SQL("DEFAULT ''")])
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    vin = CharField()

    class Meta:
        table_name = 'car_config_info_vag'
        indexes = (
            (('cid', 'brand_code', 'engine', 'trans', 'salestype'), True),
        )

class CarConfigInfoVagName(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField()
    drive = CharField(constraints=[SQL("DEFAULT ''")])
    engine = CharField(constraints=[SQL("DEFAULT ''")])
    extra_info = TextField()
    name = CharField(constraints=[SQL("DEFAULT ''")])
    part_list = TextField()
    salestype = CharField(constraints=[SQL("DEFAULT ''")])
    trans = CharField(constraints=[SQL("DEFAULT ''")])
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    vin = CharField()

    class Meta:
        table_name = 'car_config_info_vag_name'
        indexes = (
            (('cid', 'brand_code', 'engine', 'trans', 'salestype'), True),
        )

class CarMaintenanceType(BaseModel):
    create_at = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    label = CharField(constraints=[SQL("DEFAULT ''")])
    maintenance_type = CharField(constraints=[SQL("DEFAULT ''")])
    mileage = IntegerField(constraints=[SQL("DEFAULT 0")])
    sequence = IntegerField(null=True)
    tid = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'car_maintenance_type'
        primary_key = False

class CarsComponentInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    cmtid = CharField(null=True)
    extra_info = TextField(null=True)
    label = CharField(null=True)
    model = CharField(null=True)
    pid = CharField(null=True)
    quantity = CharField(null=True)
    remark = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'cars_component_info'
        indexes = (
            (('pid', 'cmtid', 'brand_code'), True),
        )
        primary_key = False

class CarsGroupCollection(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")], null=True)
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField()
    label = CharField(null=True)
    num = CharField(constraints=[SQL("DEFAULT ''")])
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    uid = CharField(null=True, unique=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'cars_group_collection'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class CarsInfoCollection166(BaseModel):
    brand = CharField(null=True)
    brand_code = CharField(column_name='brandCode', null=True)
    code = CharField(null=True)
    condition = CharField(null=True)
    createtime = DateTimeField()
    description = CharField(null=True)
    extra_info = TextField(null=True)
    image_path = CharField(column_name='imagePath', null=True)
    img_name = CharField(column_name='imgName', null=True)
    label = CharField(null=True)
    limit = CharField(null=True)
    limit2 = CharField(null=True)
    limit3 = CharField(null=True)
    limit4 = CharField(null=True)
    name = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    uid = CharField(null=True, unique=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'cars_info_collection_166'
        indexes = (
            (('brand', 'brand_code'), False),
            (('name', 'brand', 'brand_code'), False),
        )

class CarsSaDesc(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    desc = CharField(constraints=[SQL("DEFAULT ''")])
    lang = CharField(null=True)
    sa = CharField()
    sa_family = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'cars_sa_desc'
        indexes = (
            (('sa', 'sa_family', 'brand_code', 'lang'), True),
        )
        primary_key = False

class CarsVinInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    code = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    formatdata = TextField(null=True)
    imgname = CharField(null=True)
    maindata = TextField(null=True)
    name = CharField(null=True)
    shortvin = CharField(index=True, null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    subdata = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    vin = CharField(null=True)
    year = CharField(null=True)

    class Meta:
        table_name = 'cars_vin_info'
        indexes = (
            (('vin', 'brand_code'), True),
        )
        primary_key = False

class CarsVinInfoCopy1(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    code = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    formatdata = TextField(null=True)
    imgname = CharField(null=True)
    maindata = TextField(null=True)
    name = CharField(null=True)
    shortvin = CharField(index=True, null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    subdata = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    vin = CharField(null=True)
    year = CharField(null=True)

    class Meta:
        table_name = 'cars_vin_info_copy1'
        indexes = (
            (('vin', 'brand_code'), True),
        )
        primary_key = False

class DamperInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'damper_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class EngineRefuel(BaseModel):
    engine_code = CharField(null=True)
    refuel_amount = CharField(null=True)

    class Meta:
        table_name = 'engine_refuel'
        primary_key = False

class ImageHotspotTable(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    createtime = DateTimeField()
    image_path = CharField(column_name='imagePath', null=True)
    img_points = TextField(column_name='imgPoints', null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    uid = CharField(null=True, unique=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'image_hotspot_table'
        indexes = (
            (('brand_code', 'status'), False),
            (('brand_code', 'status'), False),
        )

class LambdaSensorInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'lambda_sensor_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class LaoxuLabelStandardProjectAudi(BaseModel):
    label = CharField(null=True)
    main_group = CharField(null=True)
    pid = CharField(null=True)
    sub_group = CharField(null=True)

    class Meta:
        table_name = 'laoxu_label_standard_project_audi'

class MaintenanceGongshiAudi(BaseModel):
    bezeichnung = CharField(column_name='Bezeichnung', null=True)
    taetigkeit = CharField(column_name='Taetigkeit', null=True)
    textbaustein = CharField(column_name='Textbaustein', constraints=[SQL("DEFAULT ''")], null=True)
    typfamilie = CharField(column_name='Typfamilie', null=True)
    verkaufstypmaske = CharField(column_name='Verkaufstypmaske', null=True)
    zeiteinheiten = CharField(column_name='Zeiteinheiten')
    autoid = AutoField()
    cid = CharField()
    label = CharField(null=True)
    m_type = CharField(null=True)
    marke = CharField()
    process = CharField(null=True)

    class Meta:
        table_name = 'maintenance_gongshi_audi'
        indexes = (
            (('cid', 'process'), False),
        )

class MaintenancePartNumAudiAug(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_Aug'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiDamon(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    process = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT ''")])
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_damon'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiDamonBak(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    process = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT ''")])
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_damon_bak'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiFinally(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    process = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = CharField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_finally'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiFinallyCopy(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_finally_copy'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiFinallyModel(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_finally_model'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiFinallyModel891112(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    model1 = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_finally_model_891112'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiFinallyModel891112Merge(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    model1 = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField(null=True)
    standard_label = CharField(null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_finally_model_891112_merge'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenancePartNumAudiRepair(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    extra_info = TextField(null=True)
    itid = CharField(null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hour = CharField(constraints=[SQL("DEFAULT '0'")])
    mid = CharField(constraints=[SQL("DEFAULT ''")])
    model = CharField(constraints=[SQL("DEFAULT ''")])
    num = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    process = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    psort = IntegerField(constraints=[SQL("DEFAULT 0")])
    quantity = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT ''")])
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    struct_extra_info = TextField(null=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_part_num_audi_repair'
        indexes = (
            (('cid', 'brand_code'), False),
        )

class MaintenanceStructureCollectionAudiDamon(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    description = CharField(constraints=[SQL("DEFAULT ''")])
    extra_info = TextField(null=True)
    freq = CharField(constraints=[SQL("DEFAULT ''")])
    image_path = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hours = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_structure_collection_audi_damon'
        indexes = (
            (('cid', 'm_type', 'brand_code'), True),
        )

class MaintenanceStructureCollectionAudiRepair(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    description = CharField(constraints=[SQL("DEFAULT ''")])
    extra_info = TextField(null=True)
    freq = CharField(constraints=[SQL("DEFAULT ''")])
    image_path = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    man_hours = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    sequence = IntegerField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")])
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'maintenance_structure_collection_audi_repair'
        indexes = (
            (('cid', 'm_type', 'brand_code'), True),
        )

class MaintenanceType(BaseModel):
    label = CharField(constraints=[SQL("DEFAULT ''")])
    m_type = CharField(constraints=[SQL("DEFAULT ''")])
    old_mtype = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'maintenance_type'

class Mkb(BaseModel):
    a1 = TextField(column_name='A1', null=True)
    a2 = TextField(column_name='A2', null=True)
    a3 = TextField(column_name='A3', null=True)
    a4 = TextField(column_name='A4', null=True)
    a5 = TextField(column_name='A5', null=True)
    a6 = TextField(column_name='A6', null=True)
    b0 = TextField(column_name='B0', null=True)
    b1 = TextField(column_name='B1', null=True)
    b2 = TextField(column_name='B2', null=True)
    b3 = TextField(column_name='B3', null=True)
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'mkb'

class Part4SPrice(BaseModel):
    brand_code = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    create_time = DateTimeField()
    extra = CharField(null=True)
    firm_code = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    has_article = IntegerField(constraints=[SQL("DEFAULT 0")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    price = IntegerField(null=True)
    purchase_price = IntegerField(null=True)
    purchase_price_eot = IntegerField(null=True)
    remark = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    source_db = CharField(constraints=[SQL("DEFAULT ''")], null=True)

    class Meta:
        table_name = 'part_4s_price'
        indexes = (
            (('pid', 'brand_code', 'firm_code', 'source_db'), True),
        )

class PartInVehicle(BaseModel):
    create_at = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], unique=True)
    vehicle_ids = TextField()

    class Meta:
        table_name = 'part_in_vehicle'

class PartLabelBakAudi(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    cids = TextField(null=True)
    count = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
    create_time = DateTimeField(null=True)
    label = CharField(null=True)
    platform = CharField(constraints=[SQL("DEFAULT 'all'")], null=True)
    source = CharField(constraints=[SQL("DEFAULT '007vin'")], null=True)
    status = IntegerField(constraints=[SQL("DEFAULT 2")], index=True, null=True)
    type = CharField(constraints=[SQL("DEFAULT 'org'")], null=True)
    update_time = DateTimeField(null=True)
    weight = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'part_label_bak_audi'
        indexes = (
            (('label', 'source', 'platform'), True),
            (('source', 'platform'), False),
            (('source', 'platform', 'type'), False),
        )

class PartNumEnLabel(BaseModel):
    label = TextField()
    pid = CharField(constraints=[SQL("DEFAULT ''")], unique=True)
    process_1 = CharField(null=True)
    process_2 = CharField(null=True)
    process_3 = CharField(null=True)

    class Meta:
        table_name = 'part_num_en_label'

class PartNumLabel(BaseModel):
    group_name = CharField(constraints=[SQL("DEFAULT ''")])
    label = CharField(constraints=[SQL("DEFAULT ''")], unique=True)
    maingroup = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT ''")])
    subgroup = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'part_num_label'

class PartTagAudi(BaseModel):
    brandcode = CharField(null=True)
    create_time = DateTimeField(null=True)
    label = CharField(null=True)
    status = CharField(constraints=[SQL("DEFAULT '2'")], null=True)
    tag = CharField(null=True)
    type = CharField(constraints=[SQL("DEFAULT 'label'")], null=True)

    class Meta:
        table_name = 'part_tag_audi'

class PartsExpInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cars_firm = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    default_firm = CharField()
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    multi_price = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'parts_exp_info'
        indexes = (
            (('pid', 'brand_code'), True),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class PartsPriceDetail(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cars_firm = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    cost_price = FloatField()
    createtime = DateTimeField()
    eot_price = FloatField()
    firm_code = CharField()
    pid = CharField(constraints=[SQL("DEFAULT ''")])
    remark = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'parts_price_detail'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code', 'firm_code'), True),
            (('pid', 'brand_code', 'firm_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'firm_code', 'pid')

class PartsPriceInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'parts_price_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class PartsReplaceInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    desc = CharField(null=True)
    label = CharField(null=True)
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")])
    ptype = CharField(null=True)
    qty = CharField(null=True)
    rid = CharField(constraints=[SQL("DEFAULT ''")])
    sid = CharField(index=True)
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
    ways = CharField(constraints=[SQL("DEFAULT 'R'")])

    class Meta:
        table_name = 'parts_replace_info'
        indexes = (
            (('pid', 'rid', 'brand_code'), True),
        )
        primary_key = False

class PidCid(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")], null=True)
    cid = TextField(null=True)
    pid = CharField(constraints=[SQL("DEFAULT ''")], primary_key=True)

    class Meta:
        table_name = 'pid_cid'

class RadiatorInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'radiator_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class SdcCode(BaseModel):
    brand = CharField()
    createtime = DateTimeField()
    sdc = CharField()
    search_str = CharField()
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'sdc_code'
        indexes = (
            (('brand', 'sdc'), False),
            (('brand', 'sdc', 'search_str'), True),
        )

class SeqDoc(BaseModel):
    autoid = IntegerField(constraints=[SQL("DEFAULT 0")])
    doc = TextField(null=True)
    dokument_id = IntegerField()
    gkb = CharField(null=True)
    gtyp = CharField(null=True)
    id = CharField(null=True)
    marke = CharField()
    mkb = CharField(null=True)
    vtyp = CharField()

    class Meta:
        table_name = 'seq_doc'
        primary_key = False

class SeqTable(BaseModel):
    brand = CharField(null=True)
    condition = CharField(null=True)
    limit = CharField(null=True)
    name = CharField(null=True)
    pid = CharField(constraints=[SQL("DEFAULT ''")])
    standard_label = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'seq_table'
        primary_key = False

class StandardLabel(BaseModel):
    brandcode = CharField(null=True)
    create_time = DateTimeField(null=True)
    org_label = CharField(null=True)
    standard_label = CharField(null=True)
    status = CharField(constraints=[SQL("DEFAULT '1'")], null=True)
    type = CharField(constraints=[SQL("DEFAULT 'label'")], null=True)

    class Meta:
        table_name = 'standard_label'

class StandardLabelUnique(BaseModel):
    brandcode = CharField(null=True)
    parentpid = CharField(null=True)
    pid = CharField(null=True)
    remark = CharField(null=True)
    standard_label = CharField(null=True)

    class Meta:
        table_name = 'standard_label_unique'
        primary_key = False

class StandardLabelUniqueAll(BaseModel):
    brand_code = CharField(column_name='brandCode', null=True)
    pid = CharField(null=True)
    remark = CharField(null=True)
    standard_label = CharField(null=True)

    class Meta:
        table_name = 'standard_label_unique_all'
        primary_key = False

class TechniqueInfo(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    channel = CharField(constraints=[SQL("DEFAULT ''")])
    condition = CharField(null=True)
    createtime = DateTimeField()
    format_label = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    inventory = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    iscomt = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    isreplace = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
    label = CharField(constraints=[SQL("DEFAULT ''")])
    name = CharField(constraints=[SQL("DEFAULT ''")])
    pid = CharField(constraints=[SQL("DEFAULT ''")], index=True)
    qty = CharField(constraints=[SQL("DEFAULT ''")])
    retailprice = FloatField()
    status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)

    class Meta:
        table_name = 'technique_info'
        indexes = (
            (('pid', 'brand_code'), False),
            (('pid', 'brand_code'), True),
        )
        primary_key = CompositeKey('brand_code', 'pid')

class Va(BaseModel):
    aa = CharField(column_name='AA', constraints=[SQL("DEFAULT ''")])
    ab = CharField(column_name='AB', constraints=[SQL("DEFAULT ''")])
    ac = CharField(column_name='AC', constraints=[SQL("DEFAULT ''")])
    ad = CharField(column_name='AD', constraints=[SQL("DEFAULT ''")])
    ae = CharField(column_name='AE', constraints=[SQL("DEFAULT ''")])
    af = CharField(column_name='AF', constraints=[SQL("DEFAULT ''")])
    ag = CharField(column_name='AG', constraints=[SQL("DEFAULT ''")])
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'va'
        indexes = (
            (('brand', 'aa', 'ab', 'ad', 'ae'), True),
        )

class VaCopy(BaseModel):
    aa = CharField(column_name='AA', constraints=[SQL("DEFAULT ''")])
    ab = CharField(column_name='AB', constraints=[SQL("DEFAULT ''")])
    ac = CharField(column_name='AC', constraints=[SQL("DEFAULT ''")])
    ad = CharField(column_name='AD', constraints=[SQL("DEFAULT ''")])
    ae = CharField(column_name='AE', constraints=[SQL("DEFAULT ''")])
    af = CharField(column_name='AF', constraints=[SQL("DEFAULT ''")])
    ag = CharField(column_name='AG', constraints=[SQL("DEFAULT ''")])
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'va_copy'
        indexes = (
            (('brand', 'aa', 'ab', 'ad', 'ae'), True),
        )

class VagVkbz(BaseModel):
    brand = CharField(constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    date_from = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    date_to = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    engine = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    name = CharField(constraints=[SQL("DEFAULT ''")])
    salestype = CharField(constraints=[SQL("DEFAULT ''")])
    trans = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    uid = CharField(constraints=[SQL("DEFAULT ''")], unique=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'vag_vkbz'
        primary_key = False

class Vb(BaseModel):
    aa = TextField(column_name='AA', null=True)
    ab = TextField(column_name='AB', null=True)
    ac = TextField(column_name='AC', null=True)
    ad = TextField(column_name='AD', null=True)
    ae = TextField(column_name='AE', null=True)
    af = TextField(column_name='AF', null=True)
    ag = TextField(column_name='AG', null=True)
    ah = TextField(column_name='AH', null=True)
    ai = TextField(column_name='AI', null=True)
    ea = TextField(column_name='EA', null=True)
    eb = TextField(column_name='EB', null=True)
    ec = TextField(column_name='EC', null=True)
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'vb'

class Vc(BaseModel):
    aa = TextField(column_name='AA', null=True)
    ab = TextField(column_name='AB', null=True)
    ac = TextField(column_name='AC', null=True)
    ad = TextField(column_name='AD', null=True)
    ae = TextField(column_name='AE', null=True)
    af = TextField(column_name='AF', null=True)
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'vc'

class VehicleTable(BaseModel):
    brand_code = CharField(column_name='brandCode', constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    create_at = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])
    label = CharField(constraints=[SQL("DEFAULT ''")])
    market = CharField(constraints=[SQL("DEFAULT ''")])
    year = CharField(constraints=[SQL("DEFAULT ''")])

    class Meta:
        table_name = 'vehicle_table'
        indexes = (
            (('cid', 'brand_code', 'market', 'year'), True),
        )

class Vg(BaseModel):
    aa = TextField(column_name='AA', null=True)
    ab = TextField(column_name='AB', null=True)
    ac = TextField(column_name='AC', null=True)
    ad = TextField(column_name='AD', null=True)
    ae = TextField(column_name='AE', null=True)
    af = TextField(column_name='AF', null=True)
    ag = TextField(column_name='AG', null=True)
    ah = TextField(column_name='AH', null=True)
    ai = TextField(column_name='AI', null=True)
    aj = TextField(column_name='AJ', null=True)
    ak = TextField(column_name='AK', null=True)
    al = TextField(column_name='AL', null=True)
    am = TextField(column_name='AM', null=True)
    autoid = AutoField()
    brand = CharField(index=True, null=True)
    cid = CharField(index=True, null=True)
    pdir = CharField(null=True)

    class Meta:
        table_name = 'vg'

class Vkbz(BaseModel):
    brand = CharField(constraints=[SQL("DEFAULT ''")])
    cid = CharField(constraints=[SQL("DEFAULT ''")])
    createtime = DateTimeField()
    date_from = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    date_to = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    engine = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    name = CharField(constraints=[SQL("DEFAULT ''")])
    salestype = CharField(constraints=[SQL("DEFAULT ''")])
    trans = CharField(constraints=[SQL("DEFAULT ''")], null=True)
    uid = CharField(constraints=[SQL("DEFAULT ''")], unique=True)
    updatetime = DateTimeField(constraints=[SQL("DEFAULT CURRENT_TIMESTAMP")])

    class Meta:
        table_name = 'vkbz'
        primary_key = False

